<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Geo3DML-CPP: include/geo3dml/TriangularPrismVolume.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Geo3DML-CPP
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_acc7f90eaa859a07dba55a8b62805b11.html">geo3dml</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">TriangularPrismVolume.h</div></div>
</div><!--header-->
<div class="contents">
<a href="geo3dml_2_triangular_prism_volume_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">// UTF-8编码234五六七</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="preprocessor">#include &quot;<a class="code" href="_volume_8h.html">Volume.h</a>&quot;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacegeo3dml.html">geo3dml</a> {</div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span> </div>
<div class="foldopen" id="foldopen00009" data-start="{" data-end="};">
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_triangular_prism_volume.html">    9</a></span>    <span class="keyword">class </span><a class="code hl_class" href="classgeo3dml_1_1_triangular_prism_volume.html">TriangularPrismVolume</a> : <span class="keyword">public</span> <a class="code hl_class" href="classgeo3dml_1_1_volume.html">Volume</a> {</div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_triangular_prism_volume.html#ab0af56d7f25c3f9c51099ff3b99951eb">   11</a></span>        <a class="code hl_function" href="classgeo3dml_1_1_triangular_prism_volume.html#ab0af56d7f25c3f9c51099ff3b99951eb">TriangularPrismVolume</a>();</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_triangular_prism_volume.html#ac28d6fc3cac13dd84109392daa5ca2fb">   12</a></span>        <span class="keyword">virtual</span> <a class="code hl_function" href="classgeo3dml_1_1_triangular_prism_volume.html#ac28d6fc3cac13dd84109392daa5ca2fb">~TriangularPrismVolume</a>();</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span> </div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_triangular_prism_volume.html#a54341ee1df3517eff8c1ced8329a42df">   16</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classgeo3dml_1_1_triangular_prism_volume.html#a54341ee1df3517eff8c1ced8329a42df">AppendVertex</a>(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> z) = 0;</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_triangular_prism_volume.html#a4b68d936c20f7592859c2388985c0652">   17</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classgeo3dml_1_1_triangular_prism_volume.html#a4b68d936c20f7592859c2388985c0652">GetVertexCount</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_triangular_prism_volume.html#af2497cc3c1cf02ff55669fe516becaf2">   18</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classgeo3dml_1_1_triangular_prism_volume.html#af2497cc3c1cf02ff55669fe516becaf2">GetVertexAt</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">double</span>&amp; x, <span class="keywordtype">double</span>&amp; y, <span class="keywordtype">double</span>&amp; z) <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_triangular_prism_volume.html#aceccbc5e49fc5bdacbcc3a60b96fca94">   27</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classgeo3dml_1_1_triangular_prism_volume.html#aceccbc5e49fc5bdacbcc3a60b96fca94">AppendPrism</a>(<span class="keywordtype">int</span> top1, <span class="keywordtype">int</span> top2, <span class="keywordtype">int</span> top3, <span class="keywordtype">int</span> bottom1, <span class="keywordtype">int</span> bottom2, <span class="keywordtype">int</span> bottom3) = 0;</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_triangular_prism_volume.html#a2a54076eb9ba11545bc0392a161c4702">   28</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classgeo3dml_1_1_triangular_prism_volume.html#a2a54076eb9ba11545bc0392a161c4702">GetPrismCount</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_triangular_prism_volume.html#aba6254112af05016b329a40353f139ee">   29</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classgeo3dml_1_1_triangular_prism_volume.html#aba6254112af05016b329a40353f139ee">GetPrismAt</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span>&amp; top1, <span class="keywordtype">int</span>&amp; top2, <span class="keywordtype">int</span>&amp; top3, <span class="keywordtype">int</span>&amp; bottom1, <span class="keywordtype">int</span>&amp; bottom2, <span class="keywordtype">int</span>&amp; bottom3) <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span>    };</div>
</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span>}</div>
<div class="ttc" id="a_volume_8h_html"><div class="ttname"><a href="_volume_8h.html">Volume.h</a></div></div>
<div class="ttc" id="aclassgeo3dml_1_1_triangular_prism_volume_html"><div class="ttname"><a href="classgeo3dml_1_1_triangular_prism_volume.html">geo3dml::TriangularPrismVolume</a></div><div class="ttdoc">广义三棱柱构成的体。从v2版本开始支持。</div><div class="ttdef"><b>Definition</b> TriangularPrismVolume.h:9</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_triangular_prism_volume_html_a2a54076eb9ba11545bc0392a161c4702"><div class="ttname"><a href="classgeo3dml_1_1_triangular_prism_volume.html#a2a54076eb9ba11545bc0392a161c4702">geo3dml::TriangularPrismVolume::GetPrismCount</a></div><div class="ttdeci">virtual int GetPrismCount() const =0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_triangular_prism_volume_html_a4b68d936c20f7592859c2388985c0652"><div class="ttname"><a href="classgeo3dml_1_1_triangular_prism_volume.html#a4b68d936c20f7592859c2388985c0652">geo3dml::TriangularPrismVolume::GetVertexCount</a></div><div class="ttdeci">virtual int GetVertexCount() const =0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_triangular_prism_volume_html_a54341ee1df3517eff8c1ced8329a42df"><div class="ttname"><a href="classgeo3dml_1_1_triangular_prism_volume.html#a54341ee1df3517eff8c1ced8329a42df">geo3dml::TriangularPrismVolume::AppendVertex</a></div><div class="ttdeci">virtual int AppendVertex(double x, double y, double z)=0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_triangular_prism_volume_html_ab0af56d7f25c3f9c51099ff3b99951eb"><div class="ttname"><a href="classgeo3dml_1_1_triangular_prism_volume.html#ab0af56d7f25c3f9c51099ff3b99951eb">geo3dml::TriangularPrismVolume::TriangularPrismVolume</a></div><div class="ttdeci">TriangularPrismVolume()</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_triangular_prism_volume_html_aba6254112af05016b329a40353f139ee"><div class="ttname"><a href="classgeo3dml_1_1_triangular_prism_volume.html#aba6254112af05016b329a40353f139ee">geo3dml::TriangularPrismVolume::GetPrismAt</a></div><div class="ttdeci">virtual bool GetPrismAt(int i, int &amp;top1, int &amp;top2, int &amp;top3, int &amp;bottom1, int &amp;bottom2, int &amp;bottom3) const =0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_triangular_prism_volume_html_ac28d6fc3cac13dd84109392daa5ca2fb"><div class="ttname"><a href="classgeo3dml_1_1_triangular_prism_volume.html#ac28d6fc3cac13dd84109392daa5ca2fb">geo3dml::TriangularPrismVolume::~TriangularPrismVolume</a></div><div class="ttdeci">virtual ~TriangularPrismVolume()</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_triangular_prism_volume_html_aceccbc5e49fc5bdacbcc3a60b96fca94"><div class="ttname"><a href="classgeo3dml_1_1_triangular_prism_volume.html#aceccbc5e49fc5bdacbcc3a60b96fca94">geo3dml::TriangularPrismVolume::AppendPrism</a></div><div class="ttdeci">virtual int AppendPrism(int top1, int top2, int top3, int bottom1, int bottom2, int bottom3)=0</div><div class="ttdoc">指定构成体元的6个顶点，添加一个三棱柱体元。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_triangular_prism_volume_html_af2497cc3c1cf02ff55669fe516becaf2"><div class="ttname"><a href="classgeo3dml_1_1_triangular_prism_volume.html#af2497cc3c1cf02ff55669fe516becaf2">geo3dml::TriangularPrismVolume::GetVertexAt</a></div><div class="ttdeci">virtual bool GetVertexAt(int i, double &amp;x, double &amp;y, double &amp;z) const =0</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_volume_html"><div class="ttname"><a href="classgeo3dml_1_1_volume.html">geo3dml::Volume</a></div><div class="ttdoc">体数据的基类。</div><div class="ttdef"><b>Definition</b> Volume.h:9</div></div>
<div class="ttc" id="anamespacegeo3dml_html"><div class="ttname"><a href="namespacegeo3dml.html">geo3dml</a></div><div class="ttdef"><b>Definition</b> AbstractMetadata.h:6</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
